<?php


/**
 * 大厅 & 房间 & 游戏汇总信息
 */

//房间信息数组
$GLOBALS['rooms'] = [];

//大厅座位详情数组 请不要在意这些细节
$GLOBALS['hall'] = [
    'DZ-1A'  =>  [
        'user_a'=>'off','user_b'=>'off','user_c'=>'off','status'=>'off','pokers'=>[],
        'whosturn'=>'','dizhu'=>'','whospoker' => 'off','game_double'=>1,'round_type'=>'off',
        'user_a_id'=>'off','user_b_id'=>'off','user_c_id'=>'off',
        'user_a_status'=>'空闲','user_b_status'=>'空闲','user_c_status'=>'空闲',
        'user_a_pokers'=>'','user_b_pokers'=>'','user_c_pokers'=>'',
        'user_a_nick'=>'off','user_b_nick'=>'off','user_c_nick'=>'off',
        'user_a_identity'=>'off','user_b_identity'=>'off','user_c_identity'=>'off'],
    'DZ-1B'  =>  [
        'user_a'=>'off','user_b'=>'off','user_c'=>'off','status'=>'off','pokers'=>[],
        'whosturn'=>'','dizhu'=>'','whospoker' => 'off','game_double'=>1,'round_type'=>'off',
        'user_a_id'=>'off','user_b_id'=>'off','user_c_id'=>'off', 
        'user_a_status'=>'空闲','user_b_status'=>'空闲','user_c_status'=>'空闲',
        'user_a_pokers'=>'','user_b_pokers'=>'','user_c_pokers'=>'',
        'user_a_nick'=>'off','user_b_nick'=>'off','user_c_nick'=>'off',
        'user_a_identity'=>'off','user_b_identity'=>'off','user_c_identity'=>'off'],
    'DZ-1C'  =>  [
        'user_a'=>'off','user_b'=>'off','user_c'=>'off','status'=>'off','pokers'=>[],
        'whosturn'=>'','dizhu'=>'','whospoker' => 'off','game_double'=>1,'round_type'=>'off',
        'user_a_id'=>'off','user_b_id'=>'off','user_c_id'=>'off',
        'user_a_status'=>'空闲','user_b_status'=>'空闲','user_c_status'=>'空闲',
        'user_a_pokers'=>'','user_b_pokers'=>'','user_c_pokers'=>'',
        'user_a_nick'=>'off','user_b_nick'=>'off','user_c_nick'=>'off',
        'user_a_identity'=>'off','user_b_identity'=>'off','user_c_identity'=>'off'],
    'DZ-1D'  =>  [
        'user_a'=>'off','user_b'=>'off','user_c'=>'off','status'=>'off','pokers'=>[],
        'whosturn'=>'','dizhu'=>'','whospoker' => 'off','game_double'=>1,'round_type'=>'off',
        'user_a_id'=>'off','user_b_id'=>'off','user_c_id'=>'off', 
        'user_a_status'=>'空闲','user_b_status'=>'空闲','user_c_status'=>'空闲',
        'user_a_pokers'=>'','user_b_pokers'=>'','user_c_pokers'=>'',
        'user_a_nick'=>'off','user_b_nick'=>'off','user_c_nick'=>'off',
        'user_a_identity'=>'off','user_b_identity'=>'off','user_c_identity'=>'off'],
    'DZ-1E'  =>  [
        'user_a'=>'off','user_b'=>'off','user_c'=>'off','status'=>'off','pokers'=>[],
        'whosturn'=>'','dizhu'=>'','whospoker' => 'off','game_double'=>1,'round_type'=>'off',
        'user_a_id'=>'off','user_b_id'=>'off','user_c_id'=>'off',
        'user_a_status'=>'空闲','user_b_status'=>'空闲','user_c_status'=>'空闲',
        'user_a_pokers'=>'','user_b_pokers'=>'','user_c_pokers'=>'',
        'user_a_nick'=>'off','user_b_nick'=>'off','user_c_nick'=>'off',
        'user_a_identity'=>'off','user_b_identity'=>'off','user_c_identity'=>'off'],
    'DZ-2A'  =>  [
        'user_a'=>'off','user_b'=>'off','user_c'=>'off','status'=>'off','pokers'=>[],
        'whosturn'=>'','dizhu'=>'','whospoker' => 'off','game_double'=>1,'round_type'=>'off',
        'user_a_id'=>'off','user_b_id'=>'off','user_c_id'=>'off',
        'user_a_status'=>'空闲','user_b_status'=>'空闲','user_c_status'=>'空闲',
        'user_a_pokers'=>'','user_b_pokers'=>'','user_c_pokers'=>'',
        'user_a_nick'=>'off','user_b_nick'=>'off','user_c_nick'=>'off',
        'user_a_identity'=>'off','user_b_identity'=>'off','user_c_identity'=>'off'],
    'DZ-2B'  =>  [
        'user_a'=>'off','user_b'=>'off','user_c'=>'off','status'=>'off','pokers'=>[],
        'whosturn'=>'','dizhu'=>'','whospoker' => 'off','game_double'=>1,'round_type'=>'off',
        'user_a_id'=>'off','user_b_id'=>'off','user_c_id'=>'off',
        'user_a_status'=>'空闲','user_b_status'=>'空闲','user_c_status'=>'空闲',
        'user_a_pokers'=>'','user_b_pokers'=>'','user_c_pokers'=>'',
        'user_a_nick'=>'off','user_b_nick'=>'off','user_c_nick'=>'off',
        'user_a_identity'=>'off','user_b_identity'=>'off','user_c_identity'=>'off'],
    'DZ-2C'  =>  [
        'user_a'=>'off','user_b'=>'off','user_c'=>'off','status'=>'off','pokers'=>[],
        'whosturn'=>'','dizhu'=>'','whospoker' => 'off','game_double'=>1,'round_type'=>'off',
        'user_a_id'=>'off','user_b_id'=>'off','user_c_id'=>'off',
        'user_a_status'=>'空闲','user_b_status'=>'空闲','user_c_status'=>'空闲',
        'user_a_pokers'=>'','user_b_pokers'=>'','user_c_pokers'=>'',
        'user_a_nick'=>'off','user_b_nick'=>'off','user_c_nick'=>'off',
        'user_a_identity'=>'off','user_b_identity'=>'off','user_c_identity'=>'off'],
    'DZ-2D'  =>  [
        'user_a'=>'off','user_b'=>'off','user_c'=>'off','status'=>'off','pokers'=>[],
        'whosturn'=>'','dizhu'=>'','whospoker' => 'off','game_double'=>1,'round_type'=>'off',
        'user_a_id'=>'off','user_b_id'=>'off','user_c_id'=>'off',
        'user_a_status'=>'空闲','user_b_status'=>'空闲','user_c_status'=>'空闲',
        'user_a_pokers'=>'','user_b_pokers'=>'','user_c_pokers'=>'',
        'user_a_nick'=>'off','user_b_nick'=>'off','user_c_nick'=>'off',
        'user_a_identity'=>'off','user_b_identity'=>'off','user_c_identity'=>'off'],
    'DZ-2E'  =>  [
        'user_a'=>'off','user_b'=>'off','user_c'=>'off','status'=>'off','pokers'=>[],
        'whosturn'=>'','dizhu'=>'','whospoker' => 'off','game_double'=>1,'round_type'=>'off',
        'user_a_id'=>'off','user_b_id'=>'off','user_c_id'=>'off',
        'user_a_status'=>'空闲','user_b_status'=>'空闲','user_c_status'=>'空闲',
        'user_a_pokers'=>'','user_b_pokers'=>'','user_c_pokers'=>'',
        'user_a_nick'=>'off','user_b_nick'=>'off','user_c_nick'=>'off',
        'user_a_identity'=>'off','user_b_identity'=>'off','user_c_identity'=>'off'],
    'DZ-3A'  =>  [
        'user_a'=>'off','user_b'=>'off','user_c'=>'off','status'=>'off','pokers'=>[],
        'whosturn'=>'','dizhu'=>'','whospoker' => 'off','game_double'=>1,'round_type'=>'off',
        'user_a_id'=>'off','user_b_id'=>'off','user_c_id'=>'off',
        'user_a_status'=>'空闲','user_b_status'=>'空闲','user_c_status'=>'空闲',
        'user_a_pokers'=>'','user_b_pokers'=>'','user_c_pokers'=>'',
        'user_a_nick'=>'off','user_b_nick'=>'off','user_c_nick'=>'off',
        'user_a_identity'=>'off','user_b_identity'=>'off','user_c_identity'=>'off'],
    'DZ-3B'  =>  [
        'user_a'=>'off','user_b'=>'off','user_c'=>'off','status'=>'off','pokers'=>[],
        'whosturn'=>'','dizhu'=>'','whospoker' => 'off','game_double'=>1,'round_type'=>'off',
        'user_a_id'=>'off','user_b_id'=>'off','user_c_id'=>'off',
        'user_a_status'=>'空闲','user_b_status'=>'空闲','user_c_status'=>'空闲',
        'user_a_pokers'=>'','user_b_pokers'=>'','user_c_pokers'=>'',
        'user_a_nick'=>'off','user_b_nick'=>'off','user_c_nick'=>'off',
        'user_a_identity'=>'off','user_b_identity'=>'off','user_c_identity'=>'off'],
    'DZ-3C'  =>  [
        'user_a'=>'off','user_b'=>'off','user_c'=>'off','status'=>'off','pokers'=>[],
        'whosturn'=>'','dizhu'=>'','whospoker' => 'off','game_double'=>1,'round_type'=>'off',
        'user_a_id'=>'off','user_b_id'=>'off','user_c_id'=>'off',
        'user_a_status'=>'空闲','user_b_status'=>'空闲','user_c_status'=>'空闲',
        'user_a_pokers'=>'','user_b_pokers'=>'','user_c_pokers'=>'',
        'user_a_nick'=>'off','user_b_nick'=>'off','user_c_nick'=>'off',
        'user_a_identity'=>'off','user_b_identity'=>'off','user_c_identity'=>'off'],
    'DZ-3D'  =>  [
        'user_a'=>'off','user_b'=>'off','user_c'=>'off','status'=>'off','pokers'=>[],
        'whosturn'=>'','dizhu'=>'','whospoker' => 'off','game_double'=>1,'round_type'=>'off',
        'user_a_id'=>'off','user_b_id'=>'off','user_c_id'=>'off',
        'user_a_status'=>'空闲','user_b_status'=>'空闲','user_c_status'=>'空闲',
        'user_a_pokers'=>'','user_b_pokers'=>'','user_c_pokers'=>'',
        'user_a_nick'=>'off','user_b_nick'=>'off','user_c_nick'=>'off',
        'user_a_identity'=>'off','user_b_identity'=>'off','user_c_identity'=>'off'],
    'DZ-3E'  =>  [
        'user_a'=>'off','user_b'=>'off','user_c'=>'off','status'=>'off','pokers'=>[],
        'whosturn'=>'','dizhu'=>'','whospoker' => 'off','game_double'=>1,'round_type'=>'off',
        'user_a_id'=>'off','user_b_id'=>'off','user_c_id'=>'off',
        'user_a_status'=>'空闲','user_b_status'=>'空闲','user_c_status'=>'空闲',
        'user_a_pokers'=>'','user_b_pokers'=>'','user_c_pokers'=>'',
        'user_a_nick'=>'off','user_b_nick'=>'off','user_c_nick'=>'off',
        'user_a_identity'=>'off','user_b_identity'=>'off','user_c_identity'=>'off'],
    'DZ-4A'  =>  [
        'user_a'=>'off','user_b'=>'off','user_c'=>'off','status'=>'off','pokers'=>[],
        'whosturn'=>'','dizhu'=>'','whospoker' => 'off','game_double'=>1,'round_type'=>'off',
        'user_a_id'=>'off','user_b_id'=>'off','user_c_id'=>'off',
        'user_a_status'=>'空闲','user_b_status'=>'空闲','user_c_status'=>'空闲',
        'user_a_pokers'=>'','user_b_pokers'=>'','user_c_pokers'=>'',
        'user_a_nick'=>'off','user_b_nick'=>'off','user_c_nick'=>'off',
        'user_a_identity'=>'off','user_b_identity'=>'off','user_c_identity'=>'off'],
    'DZ-4B'  =>  [
        'user_a'=>'off','user_b'=>'off','user_c'=>'off','status'=>'off','pokers'=>[],
        'whosturn'=>'','dizhu'=>'','whospoker' => 'off','game_double'=>1,'round_type'=>'off',
        'user_a_id'=>'off','user_b_id'=>'off','user_c_id'=>'off',
        'user_a_status'=>'空闲','user_b_status'=>'空闲','user_c_status'=>'空闲',
        'user_a_pokers'=>'','user_b_pokers'=>'','user_c_pokers'=>'',
        'user_a_nick'=>'off','user_b_nick'=>'off','user_c_nick'=>'off',
        'user_a_identity'=>'off','user_b_identity'=>'off','user_c_identity'=>'off'],
    'DZ-4C'  =>  [
        'user_a'=>'off','user_b'=>'off','user_c'=>'off','status'=>'off','pokers'=>[],
        'whosturn'=>'','dizhu'=>'','whospoker' => 'off','game_double'=>1,'round_type'=>'off',
        'user_a_id'=>'off','user_b_id'=>'off','user_c_id'=>'off',
        'user_a_status'=>'空闲','user_b_status'=>'空闲','user_c_status'=>'空闲',
        'user_a_pokers'=>'','user_b_pokers'=>'','user_c_pokers'=>'',
        'user_a_nick'=>'off','user_b_nick'=>'off','user_c_nick'=>'off',
        'user_a_identity'=>'off','user_b_identity'=>'off','user_c_identity'=>'off'],
    'DZ-4D'  =>  [
        'user_a'=>'off','user_b'=>'off','user_c'=>'off','status'=>'off','pokers'=>[],
        'whosturn'=>'','dizhu'=>'','whospoker' => 'off','game_double'=>1,'round_type'=>'off',
        'user_a_id'=>'off','user_b_id'=>'off','user_c_id'=>'off',
        'user_a_status'=>'空闲','user_b_status'=>'空闲','user_c_status'=>'空闲',
        'user_a_pokers'=>'','user_b_pokers'=>'','user_c_pokers'=>'',
        'user_a_nick'=>'off','user_b_nick'=>'off','user_c_nick'=>'off',
        'user_a_identity'=>'off','user_b_identity'=>'off','user_c_identity'=>'off'],
    'DZ-4E'  =>  [
        'user_a'=>'off','user_b'=>'off','user_c'=>'off','status'=>'off','pokers'=>[],
        'whosturn'=>'','dizhu'=>'','whospoker' => 'off','game_double'=>1,'round_type'=>'off',
        'user_a_id'=>'off','user_b_id'=>'off','user_c_id'=>'off',
        'user_a_status'=>'空闲','user_b_status'=>'空闲','user_c_status'=>'空闲',
        'user_a_pokers'=>'','user_b_pokers'=>'','user_c_pokers'=>'',
        'user_a_nick'=>'off','user_b_nick'=>'off','user_c_nick'=>'off',
        'user_a_identity'=>'off','user_b_identity'=>'off','user_c_identity'=>'off'],
];


/**
 * 扑克牌数组 后缀：1代表黑桃 2代表红桃 3代表梅花 4代表方块
 */
$GLOBALS['poker_list'] = [
    'Joker1'    =>     100,
    'Joker2'    =>     99,
    'TWO_1'     =>     20,
    'TWO_2'     =>     20,
    'TWO_3'     =>     20,
    'TWO_4'     =>     20,
    'A_1'       =>     14,
    'A_2'       =>     14,
    'A_3'       =>     14,
    'A_4'       =>     14,
    'K_1'       =>     13,
    'K_2'       =>     13,
    'K_3'       =>     13,
    'K_4'       =>     13,
    'Q_1'       =>     12,
    'Q_2'       =>     12,
    'Q_3'       =>     12,
    'Q_4'       =>     12,
    'J_1'       =>     11,
    'J_2'       =>     11,
    'J_3'       =>     11,
    'J_4'       =>     11,
    'TEN_1'     =>     10,
    'TEN_2'     =>     10,
    'TEN_3'     =>     10,
    'TEN_4'     =>     10,
    'NINE_1'    =>     9,
    'NINE_2'    =>     9,
    'NINE_3'    =>     9,
    'NINE_4'    =>     9,
    'EIGHT_1'   =>     8,
    'EIGHT_2'   =>     8,
    'EIGHT_3'   =>     8,
    'EIGHT_4'   =>     8,
    'SEVEN_1'   =>     7,
    'SEVEN_2'   =>     7,
    'SEVEN_3'   =>     7,
    'SEVEN_4'   =>     7,
    'SIX_1'     =>     6,
    'SIX_2'     =>     6,
    'SIX_3'     =>     6,
    'SIX_4'     =>     6,
    'FIVE_1'    =>     5,
    'FIVE_2'    =>     5,
    'FIVE_3'    =>     5,
    'FIVE_4'    =>     5,
    'FOUR_1'    =>     4,
    'FOUR_2'    =>     4,
    'FOUR_3'    =>     4,
    'FOUR_4'    =>     4,
	'THREE_1'   =>     3,
	'THREE_2'   =>     3,
	'THREE_3'   =>     3,
	'THREE_4'   =>     3,
];

